<template>
  <div class="van-popup-list">
    <van-list>
      <van-cell v-for="(item, index) in list" :key="item"> {{ item }}人 </van-cell>
    </van-list>
  </div>
</template>

<script setup>
  import { ref } from 'vue'
  const list = ref([])

  for (let i = 0; i < 10; i++) {
    list.value.push(list.value.length + 1)
  }
</script>

<style lang="less" scoped>
  .van-popup-list {
    padding: 50px 0 0 2px;
  }
</style>
